const sequelize = require('../sequlize-config');
const Sequelize = require('sequelize');
const Activities = sequelize.define('Activities', {
    title: { type: Sequelize.STRING, allowNull: false },
    time: { type: Sequelize.DATE, allowNull: false },
    position: { type: Sequelize.STRING, allowNull: false },
    source: { type: Sequelize.STRING, allowNull: false },
    aid: { type: Sequelize.INTEGER(11), allowNull: false, autoIncrement: true, primaryKey: true, unique: true, },
}, {
        tableName: 'activities'
    });
module.exports = Activities;